package cn.hyatt.auth.dto.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

@Setter
@Getter
public class AuthInfo implements Serializable {
    @Serial
    private static final long serialVersionUID = 42L;

    @Schema(description = "token")
    private String accessToken;

    @Schema(description = "刷新token")
    private String refreshToken;

    @Schema(description = "token过期时间")
    private Long expireTime;
}
